<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>店铺管理</title>
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-store">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

        <link rel="shortcut icon" href="../../../extends/img/favicon.ico" />
    <!-- Loading Bootstrap -->
    <link href="../../../extends/css/main.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
    <script src="../../../assets/html5shiv.min.js"></script>
    <script src="../../../assets/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">
        var require = {
            "config": {
                "site": {
                    "name": "xshop",
                    "cdnurl": "../../../",
                    "version": "1.0.0",
                },
                "upload": {
                    "cdnurl": "./",
                    "uploadurl": "/upload/file",
                    "multipart": {
                    }
                },
                "modulename": "biz",
                "controllername": "store",
                "actionname": "edit",
                "jsname": "main/js/biz/store",
                "moduleurl": "./",
                "language": "zh-cn",
                "referer": null
            }
        };
    </script>
</head>

<body class="inside-header inside-aside is-dialog">
       <div id="main" role="main">
           <div class="tab-content tab-addtabs">
               <div id="content">
                   <div class="row">
                       <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                           <div class="content">
		                        <form id="editForm" class="form-horizontal form-ajax" action="/store" role="form" method="post" data-toggle="validator">
		                        	<div id="errtips" class="hide"></div>
		                        	<input type="hidden" name="id" />
		                        	<input type="hidden" name="enable" />
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2">
	                                    	<span class="text-danger">*</span> 店铺名称
	                                    </label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9 no-padding">
	                                        <input type="text" name="storeName" class="form-control" placeholder="请输入店铺名称" data-rule="required">
	                                    </div>
	                                </div>
	                        		
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2">
	                                    	所属商家
	                                    </label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9 no-padding">
	                                        <select name="sellerId" class="form-control selectpicker">
	                                        </select>
	                                    </div>
	                                </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-2 col-sm-2 col-md-2 col-lg-2"><span
	                                            class="text-danger">*</span>经度</label>
	                                    <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 no-padding">
	                                        <input type="text" name="storeLon" class="form-control lon" placeholder="请输入经度" data-rule="required,number">
	                                    </div>
	                                    <label class="control-label col-xs-2 col-sm-2 col-md-2 col-lg-2"><span
	                                            class="text-danger">*</span>纬度</label>
	                                    <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 no-padding">
	                                        <input type="text" name="storeLat" class="form-control lat" placeholder="请输入纬度" data-rule="required,number">
	                                    </div>
	                                    <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 no-padding">
	                                     	<a class="btn bg-teal"  id="lonLat" href="javascript:void(0);">获取位置</a>
	                                    </div>
	                                </div>
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2">
	                                    	店铺图标
	                                    </label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9 no-padding">
	                                    	<span  class=" plupload" id="upload1"  data-input-id="storeIcon" data-preview-id="prev1" data-multiple="false"
										       data-url="/upload/temp/image" href="javascript:void(0);" data-mimetype='[{"extensions":"jpg,gif,png"}]'>
										        <a class="btn bg-teal add-btn">上传店铺图标</a>
										    </span>
										    <span id="prev1"></span>
	                                        <input type="hidden" name="storeIcon" id="storeIcon">
	                                    </div>
	                                </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2">
	                                    	<span class="text-danger">*</span> 店铺电话
	                                    </label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9 no-padding">
	                                        <input type="text" name="storePhone" class="form-control" placeholder="请输入店铺电话" data-rule="required;mobile|phone">
	                                    </div>
	                                </div>
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2">
	                                    	<span class="text-danger">*</span> 店铺地址
	                                    </label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9 no-padding">
	                                        <input type="text" name="storeAddress" class="form-control" placeholder="请输入店铺地址" data-rule="required">
	                                    </div>
	                                </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2">
	                                    	<span class="text-danger">*</span> 店铺摘要
	                                    </label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9 no-padding">
	                                        <input type="text" name="storeSummary" class="form-control" placeholder="请输入店铺摘要" data-rule="required,length(~10)">
	                                    </div>
	                                </div>
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2">音频介绍</label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9 no-padding">
	                                    	<span class=" plupload"  id="upload2" data-input-id="videoCommentary" data-multiple="false"
										        data-url="/upload/temp/file" href="javascript:void(0);" data-mimetype='[{"extensions":"mp3"}]'>
										        <a class="btn bg-teal add-btn">上传音频介绍</a>
										    </span>
										    <span id="prev2"></span>
	                                        <input type="hidden" name="audioCommentary" id="videoCommentary">
	                                    </div>
	                                </div>
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2">视频介绍</label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9 no-padding">
	                                    	<span class=" plupload"  id="upload3" data-input-id="videoCommentary" data-multiple="false"
										        	data-url="/upload/temp/file" href="javascript:void(0);" data-mimetype='[{"extensions":"mp4"}]'>
										        <a class="btn bg-teal add-btn">上传视频介绍</a>
										    </span>
										    <span id="prev3"></span>
	                                        <input type="hidden" name="videoCommentary" id="videoCommentary">
	                                    </div>
	                                </div>
		                                 
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                   <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2">店铺轮播图</label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9 no-padding">
	                                    	<span  class=" plupload" id="upload4"  data-input-id="imgs" data-preview-id="prev4" data-multiple="true"
										       data-url="/upload/temp/image" href="javascript:void(0);" data-mimetype='[{"extensions":"jpg,gif,png"}]'>
										        <a class="btn bg-teal add-btn">上传店铺轮播图</a>
										    </span>
										    <span id="prev4"></span>
	                                        <input type="hidden" name="imgs" id="imgs">
		                                </div>
	                                 </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2">
	                                    	<span class="text-danger">*</span> 详细信息
	                                    </label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9 no-padding">
	                                        <input type="text" name="storeDesc" class="form-control summernote" placeholder="请输入详细信息" data-height="200"></input>
	                                    </div>
	                                </div>
		
		                            <div class="form-group layer-footer">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2"></label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9">
			                                <button type="reset" class="btn btn-default" id="reset">重置 <i
			                                        class="icon-reload-alt position-right"></i></button>
			                                <button type="submit" class="btn btn-primary submit disabled" disabled>提交 <i
			                                        class="icon-arrow-right14 position-right"></i></button>
			                             </div>
		                            </div>
		                        </form>
                           </div>
                       </div>
                   </div>
               </div>
           </div>
       </div>
	<!-- /页面容器 -->
    <script src="../../../assets/requirejs/require.js" data-main="../../../extends/js/main.js"></script>
</body>
</html>